package com.movie.service;

import com.movie.dto.ActorDTO;
import com.movie.dto.PageResponse;
import com.movie.entity.Actor;

import java.util.List;

public interface ActorService {
    
    PageResponse<ActorDTO> getAllActors(int page, int size, String keyword);
    
    ActorDTO getActorById(Long id);
    
    ActorDTO createActor(ActorDTO actorDTO);
    
    ActorDTO updateActor(Long id, ActorDTO actorDTO);
    
    void deleteActor(Long id);
    
    List<ActorDTO> searchActors(String keyword);
    
    List<Actor> findOrCreateActors(List<String> actorNames);
}